home *** CD-ROM | disk | FTP | other *** search
- //========================================================================================
- //
- // Exploder description for 'FWpr' (ODF part info) resources
- //
- // Author: Steve Crutchfield
- //
- // Copyright: (c) 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- //----------------------------------------------------------------------------
- // Utility definition.
- //----------------------------------------------------------------------------
-
- Define(FW_RStringData)
- {
- Word(fScriptCode);
- Word(fLanguageCode);
- String(fString, LengthWord);
- }
-
- //----------------------------------------------------------------------------
- // Main definition begins here.
- //----------------------------------------------------------------------------
-
- Word(fViewAsIconID);
-
- // Un-comment the next two lines if you're editing
- // an ODF 2 part.
-
- //Word(fMenuBarID);
- //Word(fDocumentWindowID);
-
- // Using a list here is a workaround. A better solution would
- // be to use an Element(); however, there is no structure in
- // VDL which causes all identifiers within its scope to
- // apply to a sub-element rather than the containing element.
- // DynamicVList performs this task for a list, so we use a
- // single-element list here. This is needed because both
- // StringData fields in the resource contain script and language
- // code fields, which must have the same name in each case so
- // that a single VDL named statement can be used to generate all
- // script/language code popup menus.
-
- List(fPartName, String, 1)
- {
- Call(FW_RStringData);
- }
-
- List(fPartKind, String, 1)
- {
- Call(FW_RStringData);
- }
-